翻訳と辞書
Words near each other
・ Virtual machining
・ Virtual Collaborative Learning
・ Virtual Collection of Masterpieces
・ Virtual collective consciousness
・ Virtual College of Biotechnology, University of Saskatchewan
・ Virtual colonoscopy
・ Virtual colony count
・ Virtual column
・ Virtual Combat Convoy Trainer
・ Virtual community
・ Virtual community of practice
・ Virtual Computer
・ Virtual concatenation
・ Virtual concert
・ Virtual Console
Virtual console
・ Virtual Control
・ Virtual Control Program Interface
・ Virtual crime
・ Virtual currency
・ Virtual customer environment
・ Virtual Cybernetic Building Testbed
・ Virtual dance
・ Virtual data room
・ Virtual Database Manager
・ Virtual design and construction
・ Virtual desktop
・ Virtual Desktop Extender
・ Virtual device
・ Virtual device driver


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Virtual console : ウィキペディア英語版
Virtual console

A virtual console (VC) – also known as a virtual terminal (VT) – is a conceptual combination of the keyboard and display for a computer user interface. It is a feature of some operating systems such as BSD, Linux, and UnixWare in which the system console of the computer can be used to switch between multiple virtual consoles to access unrelated user interfaces. Virtual consoles date back at least to Xenix in the 1980s.〔(【引用サイトリンク】title=Trusted path mechanism for virtual terminal environments )
United States Patent 4945468 lists Xenix as prior art in this area.〕
Usually in Linux (see Linux console), the first six virtual consoles provide a text terminal with a login prompt to a Unix shell. The graphical X Window System starts in the seventh virtual console.
In Linux, the user switches between them with the key combination ''Alt'' plus a function key – for example ''Alt+F1'' to access the virtual console number 1. ''Alt+Left arrow'' changes to the previous virtual console and ''Alt+Right arrow'' to the next virtual console. To switch from the X Window System, ''Ctrl+Alt+function key'' works. (Note that users can redefine these default key combinations.)
The need for virtual consoles has lessened now that most applications work in the graphical framework of the X Window System, where each program has a window and the text mode programs can be run in terminal-emulator windows. If several sessions of the X Window System are required to run in parallel, such as in the case of fast user switching or when debugging X programs on a separate X server, each X session usually runs in a separate virtual console. GNU Screen is a program that can change between several text-mode programs in one textual login.
== Interface ==
The virtual consoles are represented by device special files /dev/tty1, /dev/tty2, etc. There are also special files /dev/console, /dev/tty and /dev/tty0. (Compare the devices using the patterns vcs ("virtual console screen") and vcsa ("virtual console screen with attributes") such as /dev/vcs1 and /dev/vcsa1.〔

) The virtual consoles can be configured in the file /etc/inittab read by ''init'' -- typically it starts the text mode login process ''getty'' for several virtual consoles. X Window System can be configured in /etc/inittab or by an X display manager. A number of Linux distributions use systemd instead of init, which also allows virtual console configuration.
Programs used to access the virtual consoles typically include:
* ''chvt'' to switch the current virtual console
* ''openvt'' to run a program on a new virtual console
* ''deallocvt'' to close a currently unused virtual console.
The program ''startx'' starts the X Window System on a new virtual console. There are also other graphical programs that can start from the console, such as LinuxTV and MPlayer.
Programs can access the virtual consoles by the device special files. In text mode, writing to the file displays text on the virtual console and reading from the file returns text the user writes to the virtual console. As with other text terminals, there are also special escape sequences, control characters and termios functions that a program can use, most easily via a library such as ''ncurses''. For more complex operations, the programs can use console and terminal special ''ioctl'' system calls. Graphical programs can use libraries such as DirectFB, DRI, SDL or the earlier SVGALib.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Virtual console」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.